
        <form action="{url()}" method="post" class="uk-form uk-form-horizontal" id="form">
            <div class="uk-form-row">
                <label class="uk-form-label">上传大小</label>
                <div class="uk-form-controls">
                    <input id="UPLOAD_SIZE" class="uk-form-width" datatype="n" type="text" name="UPLOAD_SIZE" value="{$info.UPLOAD_SIZE}"  data-uk-tooltip title="单位：M">
                </div>
            </div>
            <div class="uk-form-row">
                <label for="form-fromname" class="uk-form-label">上传文件格式</label>
                <div class="uk-form-controls">
                    <input id="UPLOAD_EXTS" class="uk-form-width-large" datatype="*" type="text" name="UPLOAD_EXTS" value="{$info.UPLOAD_EXTS}" nullmsg="请输入上传格式！" data-uk-tooltip title="用英文逗号分割，部分格式如无法上传请检查服务器">
                    <span class="uk-form-help-inline"></span>
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">缩图开关</label>
                <div class="uk-form-controls uk-form-controls-text">
                    <label class="uk-margin-right">
                        <!--if{$info['THUMB_STATUS']}-->
                        <input name="THUMB_STATUS" value="1" checked="checked" type="radio">
                        <!--{else}-->
                        <input name="THUMB_STATUS" value="1" type="radio">
                        <!--{/if}-->
                        开启</label>
                    <label class="uk-margin-right">
                        <!--if{!$info['THUMB_STATUS']}-->
                        <input name="THUMB_STATUS" checked="checked" value="0" type="radio">
                        <!--{else}-->
                        <input name="THUMB_STATUS" value="0" type="radio">
                        <!--{/if}-->
                        关闭</label>
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">水印开关</label>
                <div class="uk-form-controls uk-form-controls-text">
                    <label class="uk-margin-right">
                        <!--if{$info['WATER_STATUS']}-->
                        <input name="WATER_STATUS" value="1" checked="checked" type="radio">
                        <!--{else}-->
                        <input name="WATER_STATUS" value="1" type="radio">
                        <!--{/if}-->
                        开启</label>
                    <label class="uk-margin-right">
                        <!--if{!$info['WATER_STATUS']}-->
                        <input name="WATER_STATUS" checked="checked" value="0" type="radio">
                        <!--{else}-->
                        <input name="WATER_STATUS" value="0" type="radio">
                        <!--{/if}-->
                        关闭</label>
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">缩图方式</label>
                <div class="uk-form-controls uk-form-controls-text">
                    <select class="input" name="THUMB_TYPE" id="THUMB_TYPE">
                            <!--if{$info['THUMB_TYPE'] == 1}-->
                            <option value="1" selected>
                            <!--{else}-->
                            <option value="1">
                            <!--{/if}-->
                            等比例缩放</option>
                            <!--if{$info['THUMB_TYPE'] == 2}-->
                            <option value="2" selected>
                            <!--{else}-->
                            <option value="2">
                            <!--{/if}-->
                            居中缩放裁剪</option>
                            <!--if{$info['THUMB_TYPE'] == 3}-->
                            <option value="3" selected>
                            <!--{else}-->
                            <option value="3">
                            <!--{/if}-->
                            固定尺寸缩放</option>
                          </select>
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">缩图大小</label>
                <div class="uk-form-controls uk-form-controls-text ">
                   <input id="THUMB_WIDTH" class="uk-form-width" datatype="n" type="text" name="THUMB_WIDTH" value="{$info.THUMB_WIDTH}" data-uk-tooltip title="宽度，单位:像素">
                   <input id="THUMB_HEIGHT" class="uk-form-width" datatype="n" type="text" name="THUMB_HEIGHT" value="{$info.THUMB_HEIGHT}"data-uk-tooltip title="高度，单位:像素">
                </div>
            </div>
            <div class="uk-form-row">
                <label for="form-fromname" class="uk-form-label">水印图片</label>
                <div class="uk-form-controls">
                    <input id="WATER_IMAGE" class="uk-form-width" datatype="*" type="text" name="WATER_IMAGE" value="{$info.WATER_IMAGE}" data-uk-tooltip title="public/watermark下的图片文件">
                    <span class="uk-form-help-inline"></span>
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">水印位置</label>
                <div class="uk-form-controls uk-form-controls-text">
                    <select name="WATER_POSITION" id="WATER_POSITION">
                            <!--if{$info['WATER_POSITION'] == 1}-->
                            <option value="1" selected>
                            <!--{else}-->
                            <option value="1">
                            <!--{/if}-->
                            左上角水印</option>
                            <!--if{$info['WATER_POSITION'] == 2}-->
                            <option value="2" selected>
                            <!--{else}-->
                            <option value="2">
                            <!--{/if}-->
                            上居中水印</option>
                            <!--if{$info['WATER_POSITION'] == 3}-->
                            <option value="3" selected>
                            <!--{else}-->
                            <option value="3">
                            <!--{/if}-->
                            右上角水印</option>
                            <!--if{$info['WATER_POSITION'] == 4}-->
                            <option value="4" selected>
                            <!--{else}-->
                            <option value="4">
                            <!--{/if}-->
                            左居中水印</option>
                            <!--if{$info['WATER_POSITION'] == 5}-->
                            <option value="5" selected>
                            <!--{else}-->
                            <option value="5">
                            <!--{/if}-->
                            居中水印</option>
                            <!--if{$info['WATER_POSITION'] == 6}-->
                            <option value="6" selected>
                            <!--{else}-->
                            <option value="6">
                            <!--{/if}-->
                            右居中水印</option>
                            <!--if{$info['WATER_POSITION'] == 7}-->
                            <option value="7" selected>
                            <!--{else}-->
                            <option value="7">
                            <!--{/if}-->
                            左下角水印</option>
                            <!--if{$info['WATER_POSITION'] == 8}-->
                            <option value="8" selected>
                            <!--{else}-->
                            <option value="8">
                            <!--{/if}-->
                            下居中水印</option>
                            <!--if{$info['WATER_POSITION'] == 9}-->
                            <option value="9" selected>
                            <!--{else}-->
                            <option value="9">
                            <!--{/if}-->
                            右下角水印</option>
                          </select>
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label"></label>
                <div class="uk-form-controls">
                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                    <button class="uk-button" type="reset">重置</button>
                </div>
            </div>
        </form>
<script>
    Do.ready('base', function () {
        $('#form').duxForm();
    });
</script>